package top.lingkang.acgv.acr.po.auth;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.io.Serializable;
import java.util.Collection;

/**
 * @author lingkang
 * @date 2021/7/30 10:12
 * @description
 */
@Getter
@Setter
@ToString
public class AuthUser extends User implements Serializable {

    private String nickname;
    private String sex;
    private String status;

    public AuthUser(String username, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
    }
}
